#ifndef FEMAINWINDOW_PRIVATE_H
#define FEMAINWINDOW_PRIVATE_H
#include "fecore_global.h"
#include <QWidget>

struct FeMainWindowPrivate;
class FeMainWindow : public QWidget
{
	Q_OBJECT
public:
	FeMainWindow(QWidget *parent = 0);
	~FeMainWindow();

	int childWidgetPriority(QWidget *child) const;
	void setChildWidgetPriority(QWidget *child, int priority);

protected:
	virtual void paintEvent(QPaintEvent *);
	virtual void childEvent(QChildEvent *);

private:
	void placeWidget(QWidget *child, int priority);
	FeMainWindowPrivate *d;
};

#endif